/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package TCPprotocolo;

/**
 *
 * @author emanuellima
 */
public class Message {
    
    private String senderAddr;
    private String receiverAddr;
    public int type;

    /**
     * @return the senderAddr
     */
    public String getSenderAddr() {
        return senderAddr;
    }

    /**
     * @param senderAddr the senderAddr to set
     */
    public void setSenderAddr(String senderAddr) {
        this.senderAddr = senderAddr;
    }

    /**
     * @return the receiverAddr
     */
    public String getReceiverAddr() {
        return receiverAddr;
    }

    /**
     * @param receiverAddr the receiverAddr to set
     */
    public void setReceiverAddr(String receiverAddr) {
        this.receiverAddr = receiverAddr;
    }

    /**
     * @return the type
     */
    public int getType() {
        return type;
    }

    /**
     * @param type the type to set
     */
    public void setType(int type) {
        this.type = type;
    }
}
